//
//  CLDocModel.h
//  chanlin
//
//  Created by Ryan on 14-11-10.
//  Copyright (c) 2014年 chanlin. All rights reserved.
//

#import "CLDataModel.h"
#import "CLDocEntity.h"

@interface IFDocTemplate : NSObject

@property (nonatomic,strong)NSString *htmlTemplate;

@property (nonatomic,strong)NSString *headImg;

@property (nonatomic,strong)NSString *title;

@property (nonatomic,strong)NSString *time_source;

@property (nonatomic,strong)NSString *up_comment;

@property (nonatomic,strong)NSString *info;

@property (nonatomic,strong)NSString *weidian;

@property (nonatomic,strong)NSString *video;

@property (nonatomic,strong)NSString *video_n;

@property (nonatomic,strong)NSString *note;

@property (nonatomic,strong)NSString *slides;

@property (nonatomic,strong)NSString *slides_n;

@property (nonatomic,strong)NSString *tip;

@property (nonatomic,strong)NSString *editorcode;

@property (nonatomic,strong)NSString *order;

@property (nonatomic,strong)NSString *audio;

@property (nonatomic,strong)NSString *disclaimer;
@property (nonatomic,strong)NSString *originalLink;



- (void)changeFont;


SGR_SINGLETION(IFDocTemplate)

@end

@interface CLDocModel : CLDataModel

@property (nonatomic,strong)NSMutableSet *needCache;
@property (nonatomic,unsafe_unretained) NSInteger gifCount;
@property (nonatomic,strong)NSMutableArray *imageArray;
@property (nonatomic,unsafe_unretained)NSInteger loadLevel;
@property (nonatomic,strong)NSDictionary *imgs;

SGR_SINGLETION(CLDocModel)

- (void)getSlider:(NSString *)docId  uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;
- (void)getDoc:(NSString *)docId  uiBlock:(void (^)(BOOL success,CLDocEntity* responseObj,NSString *message) )block;
- (void)getCoverUiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

@end
